package Abstraction;

public class CoffeeMachine extends KitchenMachine {
	private int waterTemp;
	
	public CoffeeMachine(int waterTemp){
		this.waterTemp = waterTemp;
		
	}
	public void cleaned(){
		if (waterTemp <= 89){
			System.out.println("Warming Water");
		}else {
		System.out.println("CoffeeMachine is cleaned and ready");
		}
	}
	

}
